//package com.tpadsz.ssm.dubbo;
//
//import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
//import org.springframework.context.annotation.AnnotationConfigApplicationContext;
//import org.springframework.context.annotation.PropertySource;
//
//import java.io.IOException;
//
//@EnableDubbo(scanBasePackages = "com.tpadsz.ssm.service.impl")
//@PropertySource(value = "classpath:/provider-config.properties")
//public class DemoServiceProviderBootstrap {
//
//    public static void main(String[] args) throws IOException {
//        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext();
//        context.register(DemoServiceProviderBootstrap.class);
//        context.refresh();
//        System.out.println("DemoService provider is starting...");
//        System.in.read();
//    }
//}
